﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities.Exceptions
{
    public class CampoInvalidoException : Exception
    {
        public string message { get; set; }

        public CampoInvalidoException()
        {
            this.message = "Campo inválido.";
        }

        public CampoInvalidoException(string msg)
        {
            this.message = msg;
        }

        public override string Message
        {
            get
            {
                return this.message;
            }
        }
    }
}
